@import "../../../style/default";

$relevancy-prefix-cls: #{$style-prefix}-relevancy;

.#{$relevancy-prefix-cls}-link {
  position: relative;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  padding: 8px 8px 0;
  border-bottom: 1px solid #e8e8e8;
  outline: 0;
  background: #fff;
}

.#{$relevancy-prefix-cls}-links {
  display: flex;
  justify-content: flex-start;
  margin-bottom: -1px;
}

.#{$relevancy-prefix-cls}-link-btn {
  height: 30px;
  margin: 0 2px 0 0;
  padding: 4px 8px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.85);
  &:hover {
    color: $primary-color;
  }
}

.#{$relevancy-prefix-cls}-link-btn-current {
  border-bottom: 1px solid #e8e8e8;
  background: #e8e8e8;
  color: $primary-color;
}
